package com.tyfspring.beans.config;

import com.tyfspring.beans.exception.BeansException;
import com.tyfspring.beans.factory.ConfigurableListableBeanFactory;

/**
 * @Description BeanFactory后处理器
 * @Author shallow
 * @Date 2023/3/26 13:05
 */
public interface BeanFactoryPostProcessor {
    /**
     * BeanDefinition加载完成后，实例化Bean对象之前，提供修改BeanDefinition属性的机制
     * @param beanFactory
     * @throws BeansException
     */
    void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)throws BeansException;
}
